import {
    req
} from '../utils/req.js';

export default {
    //bannerList 获取banner
    bannerList(param) {
        return req.get("api/home/item/banner", param)
    },
    //榜单列表接口
    groupList() {
        return req.get("api/home/item/groupList")
    },
    //明星列表接口
    starList(param) {
        return req.post("api/home/item/starList", param)
    },
    myIdol(param) {
        return req.get("api/home/item/myIdol", param)
    },
    // 打榜信息查询
    hitTheList(param) {
        return req.post("api/home/item/hitTheList", param)
    },
    // 签到信息
    signInInfo(param) {
        return req.get("api/home/fans/signIn", param)
    },
    // 今日签到
    todaySign(param) {
        return req.post("api/home/fans/signIn", param)
    },
    
    // 获取弹幕列表
    getBarrageList(param) {
        return req.post("api/home/item/barrage", param)
    },
    // 礼物列表
    getGiftList() {
        return req.get("api/home/item/giftList")
    },
    // 赠送礼物
    postGift(param) {
        return req.post("api/home/item/fansAdd",param)
    },
    // 个人贡献排行榜
    singleContributes(param) {
        return req.post("api/home/item/singleList",param)
    },
    // 团队贡献排行榜
    teamContributes(param) {
        return req.post("api/home/item/teamList",param)
    }
}